<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><compress:html enabled="true" removeComments="false" compressJavaScript="true" yuiJsDisableOptimizations="true">
<!doctype html>
<html>
<head>
<title><fmt:message key="jsp.a.store.backtrack.form"/></title>
<%@include file="../head.jsp" %>
<style type="text/css">
#goodsName {margin-left:7px;;color:blue; cursor:pointer;}
ul.letter .lichk {color:#ff0000; background:#fff;}
#letterCategory, #letterBrand {border-top:2px solid #fff; margin:7px 0px 0px 3px; padding:0px;}
#brand_dd, #category_dd {margin:7px 0px 0px 0px;}
#ajaxData ul li {
	float:left;
	border:1px #fff solid; display:block; margin:0px;
}
#ajaxData ul li.clked{background:#6495ED; color:#fff;}
#ajaxData ul li.clked a,#ajaxData ul li.clked a:visited, #ajaxData ul li.clked a:link{color:#fff;}
ul.letter li {background:#c0c0c0; padding:3px 7px; font-size:14px; font-weight:bold; cursor:pointer;}
#brand_dd li, #category_dd li {
	padding:3px 7px; font-size:14px;  margin:3px;
}
#letterCategory:after, #letterBrand:after
, #brand_dd:after, #category_dd:after
, .clear:after{content: '.'; display:block; clear:both; visibility:hidden; height:0;}
/**/
.goodsList table{width:100%; margin:0px; padding:0px; border:0px; border-collapse:collapse;}
.goodsList table tr th {color:#666; text-align:left; padding:7px 0px 0px 5px; height:30px; line-height:28px;}
.goodsList table tr {margin:0px; padding:0px; border:0px; cursor:pointer;}
.goodsList table tr td {border-top:1px solid #ccc; padding:0px 0px 0px 5px; color:#333; margin:0px; height:30px; line-height:28px;}
/**/
.form table th, .form table td {height:28px; line-height:28px;}
.form .backtrackItem table{width:100%; border:0px;}
.form .backtrackItem table tr td {border-top:1px solid #b0b0b0; background:#ffff88; padding:3px 3px;}
</style>
<link type="text/css" rel="stylesheet" href="/static/s/choicegoods.css" media="all" />
<script type="text/javascript" src="/static/s/backtrack.js"></script>
<script type="text/javascript">
var backtrack = new Backtrack();
$(function(){
	backtrack.init();
	<c:if test="${!empty goodsId}">
	backtrack.showBatch("${goodsId}");
	</c:if>
})
</script> 
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="form">
<table>
<tr>
<th>搜索</th>
<td>
<div class="selector"><input type="text" id="goodsKey" name="goodsKey" value="输入商品名称或型号后回车" /></div>
<div class="backtrackItem">
<table></table>
</div>
</td>
</tr>
<tr>
<th>退货金额</th>
<td><input type="text" id="money" name="money" class="input"/></td>
</tr>
<tr>
<th><fmt:message key="message.memo" /></th>
<td>
<textarea id="memo" name="memo" class="textarea"></textarea>
</td>
</tr>
<tr>
<th>打印销售单据</th>
<td>
<label for="needPrint"><input type="checkbox" id="needPrint" name="needPrint" value="true" checked/>打印</label>
</td>
</tr>

<tr>
<th>
</th>
<td>
<input type="hidden" name="backURL" id="backURL" value="${backURL}" />
<input type="submit" name="submit" id="submit" value='确定退货' />
</td>
</tr>
</table>
</div>
<div class="sidebarMenu">
<ul>
<li><a href="/a/store/backtrack">退货列表</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>
</compress:html>